#include "ti_msp_dl_config.h"
#include "delay.h"

void delay_us(unsigned long us) 
{
    while(us--)
        delay_cycles(CPUCLK_FREQ/1000000);
}

void delay_ms(unsigned long ms) 
{
    while(ms--)
	    delay_cycles(CPUCLK_FREQ/1000);
}

void delay_s(unsigned long s)
{
    while(s--)
        delay_ms(1000);
}
